import requset from "../../requset";
// 每日推荐歌单
export function resource(data) {
  return requset({
    url: "/recommend/resource",
    method: "get",
    params: data,
  });
}

// 最新专辑
export function newest(data) {
  return requset({
    url: "/album/newest",
    method: "get",
    params: data,
  });
}

// 每日推荐歌曲
export function songs(data) {
  return requset({
    url: "/recommend/songs",
    method: "get",
    params: data,
  });
}
// 推荐新音乐
export function personalized(data) {
  return requset({
    url: "/personalized/newsong",
    method: "get",
    params: data,
  });
}

// 独家放送列表
export function privatecontent(data) {
  return requset({
    url: "/personalized/privatecontent/list",
    method: "get",
    params: data,
  });
}


// 推荐节目
export function recommend(data) {
  return requset({
    url: "/program/recommend",
    method: "get",
    params: data,
  });
}

// 获取歌词
export function lyric(data) {
  return requset({
    url: "/lyric",
    method: "get",
    params: data,
  });
}
// 获取音乐 url
export function urls(data) {
  return requset({
    url: "/song/url",
    method: "get",
    params: data,
  });
}
// /song/url?id=405998841,33894312 获取多个用逗号隔开